package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {
    /**
     *分页查询学院列表
     * @param studentQueryParam
     * @return
     */
    PageResult<Student> selectStudent(StudentQueryParam studentQueryParam);

    /**
     * 删除学员
     * @param ids
     */
    void deleteStudent(List<Integer> ids);

    /**
     * 添加学员
     * @param student
     */
    void postStudent(Student student);

    /**
     * 修改员工信息
     * 根据id回显信息
     * @param id
     * @return
     */
    Student getStudentById(Integer id);

    /**
     * 修改信息
     * @param student
     */
    void putStudent(Student student);
}
